{% include file="index.header.tpl.php" %}
{% include file="index.left.tpl.php" %}
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="post">	
                <div class="box-header with-border">
                    <span class="fa fa-pencil" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">教师档案</p>
                </div>
                <div class="box-body">
				   <div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   教师编号：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							   <input type="text" name="staff_number" class="form-control" value="{%$teacher_data.staff_number%}" readonly>
						  </div> 
				    </div>
					<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   姓名：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							   <input type="text" name="staff_name" class="form-control" value="{%$teacher_data.staff_name%}" readonly>
						  </div> 
				    </div>
					<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   变动事项：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							   <input type="text" name="staff_variation" class="form-control" value="{%$teacher_data.staff_variation%}">
						  </div> 
				    </div>
					<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   日期：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							       <input type="text" name="update_time" class="form-control" value="{%$teacher_data.update_time%}" id="date"/>
                                   <div class="input-group-addon">
                                      <i class="fa fa-calendar"></i>
                                  </div>
						  </div> 
				    </div>
					<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   源单位：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							   <input type="text" name="staff_from" class="form-control" value="{%$teacher_data.staff_from%}">
						  </div> 
				    </div>
					<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   目的单位：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							   <input type="text" name="staff_to" class="form-control" value="{%$teacher_data.staff_to%}">
						  </div> 
				    </div>
					<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   在岗信息：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							   <select class="form-control" id="s1" name="staff_sign" onchange="a()">
							   {%foreach from=$staff_sign key=key item=value%}
									    <option value="{%$key%}" {%if $teacher_data.staff_sign==$key%}selected{%/if%}>{%$value%}</option>
	                           {%/foreach%}        
                              </select> 
						  </div> 
				    </div>
					<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   备注：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							   <textarea class="form-control" name="staff_remark" rows="3">{%$teacher_data.staff_remark%}</textarea>
						  </div> 
				    </div>
				</div><!--box-body --> 
                <div class="box-footer text-center">
                     <button class="btn btn-primary" type="submit">保 存 信 息</button>
                 </div>
             </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
  
 {% include file="index.footer.tpl.php" %}
<script>
  $(function() {
    $( "#date" ).datepicker({
      changeMonth: true,
	  changeYear: true,
    });
  });
  </script>